﻿using System;
using System.Collections.Generic;

namespace xfsale.lib
{
    public class SysMenu
    {
        public string _id;
        public string _caption;
        public string _icon;        
        public int _order;
        public bool _enabled;
        public string _serviceCode;
        public string _uiDll;
        public string _uiFrame;
        public string _callService;
        public string _callMethod;
        public string _callProc;
        public string _summary;

        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
        public string Caption
        {
            get { return _caption; }
            set { _caption = value; }
        }
        public string Icon
        {
            get { return _icon; }
            set { _icon = value; }
        }
        public int Order
        {
            get { return _order; }
            set { _order = value; }
        }
        public bool Enabled
        {
            get { return _enabled; }
            set { _enabled = value; }
        }
        public string ServiceCode
        {
            get { return _serviceCode; }
            set { _serviceCode = value; }
        }
        public string UIDll
        {
            get { return _uiDll; }
            set { _uiDll = value; }
        }
        public string UIFrame
        {
            get { return _uiFrame; }
            set { _uiFrame = value; }
        }
        public string CallService
        {
            get { return _callService; }
            set { _callService = value; }
        }
        public string CallMethod
        {
            get { return _callMethod; }
            set { _callMethod = value; }
        }
        public string CallProc
        {
            get { return _callProc; }
            set { _callProc = value; }
        }
        public string Summary
        {
            get { return _summary; }
            set { _summary = value; }
        }
        public String CaptionFull
        {
            get { return _caption + _summary; }
        }
    }
}
